<%@ include file="/WEB-INF/templates/includes/taglibs.jsp"%>

<div class="control-group">
    <label class="control-label" for="name">Name</label>
    <div class="controls">
        <form:input type="text" id="name" path="name" placeholder="Name" />
    </div>
</div>

<div class="control-group">
    <label class="control-label" for="address">Address</label>
    <div class="controls">
        <form:textarea rows="3" id="address" path="address" placeholder="Address" />
    </div>
</div>

<div class="control-group">
    <label class="control-label" for="dateOfBirth">Date Of Birth</label>
    <div class="controls">
        <div class="input-append date" id="dp3" data-date="<fmt:formatDate value='${cvForm.dateOfBirth}' pattern='dd-MM-yyyy'/>" data-date-format="dd-mm-yyyy">
            <input class="span2" size="16" type="text" value="<fmt:formatDate value='${cvForm.dateOfBirth}' pattern='dd-MM-yyyy'/>" name="dateOfBirth" readonly="readonly" id="dateOfBirth">
            <span class="add-on"><i class="icon-th"></i></span>
        </div>
    </div>
</div>
<div class="control-group">
    <label class="control-label" for="picture">
        Photo
        <c:if test="${not empty cvForm.pictureFileName}">
            &nbsp;(current file: ${cvForm.pictureFileName})
        </c:if>
    </label>
    <div class="controls">
        <input type="file" name="picture" class="btn" id="picture"/>
    </div>
</div>

<div class="control-group">
    <label class="control-label" for="department">Department</label>
    <div class="controls">
        <form:input type="text" id="department" path="currentDepartment" placeholder="Department" />
    </div>
</div>
<div class="control-group">
    <label class="control-label" for="role">Role</label>
    <div class="controls">
        <form:input type="text" id="role" path="currentRole" placeholder="Role" />
    </div>
</div>
<div class="control-group">
    <label class="control-label" for="startDate">Employed Since</label>
    <div class="controls">
        <div class="input-append date" id="dp6" data-date="<fmt:formatDate value='${cvForm.startDate}' pattern='dd-MM-yyyy'/>" data-date-format="dd-mm-yyyy">
            <input class="span2" size="16" type="text" value="<fmt:formatDate value='${cvForm.startDate}' pattern='dd-MM-yyyy'/>" name="startDate" readonly="readonly" id="startDate">
            <span class="add-on"><i class="icon-th"></i></span>
        </div>
    </div>
</div>
